// 会员管理模块路由
import Member from '@/pages/member'
import MemberList from '@/pages/member/member-list'
import MemberRank from '@/pages/member/member-rank'

const memberRoutes = {
  name: 'member',
  path: 'member',
  redirect: 'member/list',
  component: Member,
  children: [
    {
      path: 'list',
      component: MemberList
    },
    {
      path: 'rank',
      component: MemberRank
    }
  ]
}

export default memberRoutes
